<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="detail.css">
    <link rel="stylesheet" href="//at.alicdn.com/t/font_2801284_6j7fuwfbvfe.css">
    <title>02detail</title>
    
</head>
<body>
    <div class="container">
        <div class="header layout">
            <div class="header_pic">
                <img src="inews.gtimg.jpeg" alt="">
            </div>
            <div class="header_detail">
                <div class="header_title">平安夜|希望圣诞树/礼物/雪花和你一起到来</div>
                <div class="header_user layout header_username">
                    <img src="img.zcool.jpeg" alt="">
                    <span>后原</span>
                </div>
                <div class="header_text">初雪和热咖啡，麋鹿和圣诞树... </div>
            </div>
        </div>
        <div class="center layout">
            <div>
                <i class="iconfont icon-tianjiawenjianjia"></i>311
            </div>
            <div>
                <i class="iconfont icon-dangqianhuihua"></i>311
            </div>
            <div>
                <i class="iconfont icon-fenxiang"></i>311
            </div>
        </div>
        <div class="item">
            <div class="layout item_content">
                <span>1</span>
                <div class="layout">
                    <img class="item_pic" src="inews.gtimg.jpeg" alt="">
                    <div>
                        <p>平安夜</p>
                        <p>花儿乐队-平安夜</p>
                    </div>
                </div>
                <div class="layout item_play">
                    <div>01:57</div>
                    <div class="item_icon"><i class="iconfont icon-bofang"></i></div>
                </div>
            </div>
        </div>
    </div>
    <script>
        var root =document.getElementsByTagName("html")[0];
        
        window.onresize = function(){
            var vw = window.innerWidth;
            root.style.fontSize= vw/750+"px"
        }
    </script>
</body>
</html>